package com.hssy.wululuaplan.service;

import com.hssy.wululuaplan.entity.Attendance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hssy.wululuaplan.entity.CourseSchedule;
import com.hssy.wululuaplan.entity.Student;
import com.hssy.wululuaplan.vo.AttendanceCaseVo;
import com.hssy.wululuaplan.vo.AttendanceCaseVo2;
import com.hssy.wululuaplan.vo.ClassRecordVo;

import java.util.List;

/**
 * <p>
 * 考勤表 服务类
 * </p>
 *
 * @author Mr.Hongtao
 * @since 2024-02-28
 */
public interface AttendanceService extends IService<Attendance> {

    AttendanceCaseVo findAttendanceByScheduleId(Integer scheduleId);

    Integer attendance(Integer scheduleId, Integer studentId);

    List<ClassRecordVo> findSignInRecordListByStudentId(Integer studentId);

    List<AttendanceCaseVo2> findAttendanceByScheduleIdV2(Integer scheduleId);

    void batchAttendance(Integer scheduleId, List<Integer> studentIds);

    Integer getStatus(Integer scheduleId);

    Long findNoFinish();

}
